package com.bytenebula.entity;

import com.bytenebula.entity.core.TenantEntity;
import com.mybatisflex.annotation.Table;
import java.io.Serializable;

import java.io.Serial;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.EqualsAndHashCode;

/**
 *  实体类。
 *
 * @author patrick
 * @since 2024-10-30
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
@Table(value = "bn_tenant", dataSource = "bytenebula")
public class BnTenant extends TenantEntity implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    private String tenantName;

    private String tenantCode;

    private Integer ownerId;

    private Integer isDelete;

    private Integer isActive;

}
